/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.icee.myth.common.message.serverMessage;

/**
 * Message是全局消息队列MessageQueue中存放的消息类型
 * @author liuxianke
 */
public interface Message {

    public enum MessageType {
        ALL_SHUTDOWN, ALL_HEARTBEAT, ALL_MANAGERHEARTBEAT,
        ALL_CLIENTCONNECT, ALL_MANAGERCONNECT,
        ALL_CLIENTCLOSE, ALL_MANAGERCLOSE,
        ALL_MANAGERDOWN,
        ALL_GM, 
        ALL_CALCULATE_WIN_RATE_RESULT, ALL_CALCULATE_CARD_DRAW_RATE_RESULT,
        ALL_UNINIT_OCCUPY_INFO_MESSAGE, ALL_FIGHTING_OCCUPY_INFO_MESSAGE,
        MAP_LOGIN, MAP_CHAR_NUM, MAP_CREATE_CHAR, MAP_CREATE_CHAR_RET, MAP_GET_CHAR_DETAIL_INFO_RET, MAP_GET_CHAR_OCCUPY_INFO_RET,
        MAP_GUIDE_NEXT,
        MAP_PVE_BATTLE_RESULT,
        MAP_START_PVE_BATTLE, MAP_STAGE_CONTINUE, MAP_LEAVEPVEBATTLE, MAP_STAGE_LEAVE, MAP_STAGE_ENTER, MAP_STAGE_REVIVE,
        MAP_BIGSTAGE_REFRESH,
        MAP_TALK,
        MAP_BAG_BUYSLOT,
        MAP_QUEST_SUBMIT,
        MAP_CONTSIGN_RECEIVE_CUMULATIVE_SIGN_REWARD, MAP_CONTSIGN_RECEIVE_CONSECUTIVE_SIGN_REWARD, MAP_CONTSIGN_RECEIVE_LIVENESS_REWARD,
        MAP_VIPGIFT_RECEIVE,
        MAP_SANDBOX_DEPLOY,
        MAP_GET_RELATION_RET, MAP_GET_BRIEF_PLAYER_INFOS_RET,
        MAP_SOCIAL_OTHERPLAYERINFO, MAP_SOCIAL_ADD_CONCERN, MAP_SOCIAL_REMOVE_CONCERN, MAP_SOCIAL_CONCERN_NOTE,
        MAP_CARD_STRENGTHEN, MAP_CARD_TRANSFORM, MAP_CARD_SOLD, MAP_CARD_DRAW,
        MAP_BUY_ENERGY, MAP_BUY_TOKEN,
        MAP_ITEM_COMBINE,
        MAP_GM,
        MAP_BILL_RESULT,
        MAP_GET_BILL, MAP_GET_BILLREWARD,
        MAP_GET_COUPON,
        MAP_COUPON_RESULT,
        MAP_BILLNOTIFY,
        MAP_GET_NEW_MAIL_RET, MAP_MAIL_GET_LIST, MAP_MAIL_GET_INFO, MAP_MAIL_GET_REWARD, MAP_MAIL_REMOVE,
        MAP_NORMAL_ACTIVITY_GET_LIST, MAP_NORMAL_ACTIVITY_GET_ITEM_LIST, MAP_NORMAL_ACTIVITY_ENTER_STAGE, MAP_GET_NORMAL_ACTIVITY_REWARD,
        MAP_CARD_DRAW_ACTIVITY_GET_LIST, MAP_STAGE_ACTIVITY_GET_LIST,
        MAP_HEGEMONY_ONE_TOKEN_FIGHT, MAP_HEGEMONY_THREE_TOKEN_FIGHT, MAP_HEGEMONY_BATTLERESULT, MAP_HEGEMONY_REFRESH, MAP_HEGEMONY_GET_PAY,
        MAP_BASE_BARRACK_DEPLOY, MAP_BASE_ORDNANCE_DEPLOY, MAP_BASE_COUNCIL_DEPLOY, MAP_BASE_TRAINING_DEPLOY, MAP_BASE_MINE_DEPLOY, MAP_BASE_GET_MINE_INCOME_INFO, MAP_BASE_HARVEST_SELF_MINE, MAP_BASE_HARVEST_CAPE_MINE,
        MAP_BASE_GET_OCCUPY_INFO, MAP_BASE_GET_TARGETS, MAP_BASE_ATTACK, MAP_BASE_ATTACK_BATTLERESULT, MAP_BASE_RESISTANCE, MAP_BASE_RESISTANCE_BATTLERESULT,
        MAP_BASE_MINE_PRODUCTION_CHANGE,
        MAP_GM_ADD_ENERGY, MAP_GM_IGNORE_GUIDE_STEP, MAP_GM_ADD_GOLDEN
    }

    public MessageType getType();
}
